<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试增加商品</title>

<script src="${pageContext.request.contextPath}/ckeditor/ckeditor.js"></script>
</head>
<div style="width: 719px; height: 489px;" id="content">
<div style="height: 30px;" id="pronav"><p>商品管理&gt;增加商品</p><p></p></div>
<div style="width: 719px;" id="prolist">
<form action="/CultureSalon/goodsadd.do
" method="post" >
<input type="hidden" name="action" id="action" value="addsave">
<table width="690" border="0" align="center">
  <tr>
    <td width="230">商品编号:<input type="text" name="goodsNumber" id="goodsNumber"></td>
    <td width="230">商品名称:<input type="text" name="goodsName" id="goodsName"></td>
    <td width="230">品牌名称:<input type="text" name="brandName" id="brandName"></td>
  </tr>
    <tr>
    <td>标签:<input type="text" name="goodsTag" id="goodsTag"></td>
    <td>库存: <input type="text" name="goodsInventory" id="goodsInventory"></td>
       <td>上架时间:<input type="text" name="shelfDate" id="shelfDate"
       class="Wdate" onClick="WdatePicker()"
       ></td>
  </tr>

  <tr>
 
    <td>更新时间:<input type="text" name="updateDate" id="updateDate"
    class="Wdate" onClick="WdatePicker()"
    ></td>
        <td>库存预警: <input type="text" name="inventoryWarn" id="inventoryWarn"></td>
    <td>推荐：<select id="recommend"  name="recommend"   pattern="int" >
        <option value="0">true</option>
        
          <option value="1" >false</option>
         
        </select></td>
  </tr>
  <tr>

    <td>商品属性:<input type="text" name="goodsNature" id="goodsNature"></td>
        <td>商场价格:<input type="text" name="retailPrice" id="retailPrice"></td>
    <td>市场价格:<input type="text" name="marketPrice" id="marketPrice"></td>
  </tr>

  <tr>
    <td >图片地址: <input type="text" name="goodsPictureUrl" id="goodsPictureUrl"></td>
     <td>点击量:<input type="text" name="click" id="click"></td>
    <td>分类:<select id="categoryId"  name="categoryId"   pattern="int" >
        <option value="0">==请选择分类==</option>
        <c:forEach items="${requestScope.categories }" var="category">
          <option value="${category.id }">${category.categoryName }</option>
          </c:forEach>
        </select>
    </td>
  </tr>
  <tr>
    <td colspan="3">
    <textarea class="ckeditor" cols="80" id="goodsDesc" name="goodsDesc" rows="3"></textarea>
    </td>
  </tr>
  <tr>
    <td>
        <input type="submit" name="submit " id="submit" value="提交 ">
    </td>
    <td>
        <input type="reset" name="reset " id="reset" value="重置 ">
   </td>
   <td></td>
  </tr>
</table>

</form>
</div>
</div>

